home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 013 / mv21.arc / MV.DOC < prev    next >
Encoding:
Text File  |  1986-05-31  |  2.2 KB  |  80 lines

  1.     MV - Move files (Rainbow or IBM PC)
  2.     
  3.         mv [-qv!] file,file,... target
  4.     
  5.     Filespecs may contain a drive and/or a directory specification
  6.     and wildcard characters.
  7.     
  8.     If only one file is being moved, the target may be a file name
  9.     or a directory name.  In the latter case, the source file name
  10.     is used in the target directory.  If multiple filespecs are
  11.     given or wildcard characters are used, the target must be a
  12.     directory name only.  The file name of each file moved is used
  13.     to make the target file name.
  14.  
  15.     The target must be on the same drive as the source.
  16.  
  17.     If a source filespec contains a drive and/or directory, these
  18.     are passed along to the subsequent source filespecs until
  19.     reassigned; thus
  20.     
  21.         mv \src\*.c,*.obj,\exe\*.* \save
  22.     
  23.     is the same as
  24.     
  25.         mv \src\*.c,\src\*.obj,\exe\*.* \save
  26.     
  27.     and
  28.     
  29.         mv b:bob,carol,\tmp\ted,alice b:\bed
  30.     
  31.     is shorthand for
  32.     
  33.         mv b:bob,b:carol,b:\tmp\ted,b:\tmp\alice b:\bed
  34.     
  35.     If a target file exists, mv normally asks for verification
  36.     before overwriting.
  37.  
  38.     If the source and target files are on the same drive, the file
  39.     is renamed and/or moved to the new directory without physically
  40.     copying the data.  If the move is across drives, CP is spawned
  41.     to do the copy and the source file is deleted if the copy
  42.     succeeds; CP.EXE must be in the current directory or in the
  43.     search path given by the DOS PATH variable.
  44.  
  45.     Options:
  46.     
  47.     -v (verify)
  48.     
  49.     Causes user confirmation to be requested before moving.  At
  50.     each file prompt the user answers either Y (do the copy), ! (do
  51.     the move and don't ask for confirmation on future files), or N
  52.     (don't move this file).  Any other answer is the same as N.
  53.     
  54.     -q (quiet)
  55.     
  56.     Supresses informational move messages.
  57.     
  58.     -! (hammer!)
  59.     
  60.     Supresses the verification which is normally requested (even
  61.     without -v) before overwriting an existing file.
  62.  
  63.     Options may be combined as in
  64.  
  65.         mv -q! ...
  66.     
  67.     The mv! command is a shorthand for mv -!.  Usage is
  68.     
  69.         mv! [-q] file,file,... target
  70.     
  71.     Written by Bryan Higgins.  This program may be distributed
  72.     freely as long as it is not sold for profit.
  73.     
  74.     The author may be reached at
  75.     
  76.         1802 Channing Way
  77.         Berkeley, CA 94703
  78.     
  79.     One of the Kramden Utilities.
  80.